//
//@File    :	4.14_address.cpp
//@Time    :	2021/08/03 18:04:28
//@Auther  :	Sun Sheng
//@Contact :	970340843@qq.com
//@Desc    :	using the & operator to find addresses
//

#include <iostream>

int main()
{
    using namespace std;
    int donuts = 6;
    double cups = 4.5;

    cout<<"donuts value = "<<donuts;
    cout<<" and donuts address = "<<&donuts<<endl;

    cout<<"cups value = "<<cups;
    cout<<" and cups address = "<<&cups<<endl;
    system("pause");
    return 0;
}